package com.ruoyi.project.express.api.service.baishi.sdk.kyWaybillDeliveryCreateNotify.request;

import com.ruoyi.project.express.api.service.baishi.sdk.kyWaybillDeliveryCreateNotify.request.Auth;
import com.ruoyi.project.express.api.service.baishi.sdk.kyWaybillDeliveryCreateNotify.request.CreatePrintFeedbackList;
import com.ruoyi.project.express.api.service.baishi.sdk.BaseRequest;
import com.ruoyi.project.express.api.service.baishi.sdk.BaseResponse;
import com.ruoyi.project.express.api.service.baishi.sdk.Parser;


public class KyWaybillDeliveryCreateNotifyReq implements BaseRequest {
	private Auth auth;
	private CreatePrintFeedbackList createPrintFeedbackList;

    public Auth getAuth()
    {
        return this.auth;
    }

    public void setAuth(Auth value)
    {
        this.auth = value;
    }

    public CreatePrintFeedbackList getCreatePrintFeedbackList()
    {
        return this.createPrintFeedbackList;
    }

    public void setCreatePrintFeedbackList(CreatePrintFeedbackList value)
    {
        this.createPrintFeedbackList = value;
    }

    public String obtainServiceType() {
        return "KY_WAYBILL_DELIVERY_CREATE_NOTIFY";
    }

    public BaseResponse makeResponse(String rsp, String format) {
        if ("xml".equalsIgnoreCase(format)) {
			return Parser.coverXml2Object(rsp, com.ruoyi.project.express.api.service.baishi.sdk.kyWaybillDeliveryCreateNotify.response.KyWaybillDeliveryCreateNotifyRsp.class);
		}
		return Parser.convertJson2Object(rsp, com.ruoyi.project.express.api.service.baishi.sdk.kyWaybillDeliveryCreateNotify.response.KyWaybillDeliveryCreateNotifyRsp.class);

    }

}
